<?php
namespace Operationtest\Model;

class Marche
{
    public $idMarche;
    public $libelle;
    public $description;
    public $active;
    
    public function exchangeArray($data)
    {
        $this->idMarche = (isset($data['idMarche'])) ? $data['idMarche'] : null;
        $this->libelle = (isset($data['libelle'])) ? $data['libelle'] : null;
        $this->description = (isset($data['description'])) ? $data['description'] : null;
        $this->active = (isset($data['active'])) ? $data['active'] : null;
    }
}